package com.unytech.project.entity.torrents.baseinfo;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 县信息
 * @author 王文龙
 *
 */
@Entity 
@Table(name="T_COUNTYINFO")
@GenericGenerator(name="uuidpk",strategy="uuid")
public class CountyInfo {
	@Id @GeneratedValue(generator="uuidpk")
	@Column(length=32)
	private String countyid;
	
	@Lob
	@Basic(fetch=FetchType.EAGER) 
	private String information;

	public String getCountyid() {
		return countyid;
	}

	public void setCountyid(String countyid) {
		this.countyid = countyid;
	}

	public String getInformation() {
		return information;
	}

	public void setInformation(String information) {
		this.information = information;
	}
}
